T
utorial
for using Fionn’s Series III: Hat-Heads
By Fionn
First of all, thanks to all who support www.simfreaks.com !!!
The following tutorial on using the hats is designed for the new skinner, but one who is comfortable with basic windows-based commands and functions. If you are an experienced skinner, you may want to skip most of this.
(For purposes of this tutorial, the designation “xx” stands for some number, or a series of numbers.)
Getting Started!
Unzip all files to a new, temporary directory. Within that directory, you will note the following:
several files beginning with the designation “xskin-cfxx…,” categorized as “.skn.” These are the head meshes.
several files with a “cfxx” designation, categorized as “.cmx” This file allows the Sims game to chain meshes together.
several files with a name like “GARDENHAT” or “BERET”, categorized as .skn. These are the hat meshes.
Several files with the designation “bmp.” These are the textures for the hats and heads.
Be certain that you have downloaded Ahn’s “SimAttacher” program. The program can be downloaded at www.simfreaks.com.
Follow the directions in the SimAttacher program for attaching meshes. The instructions for that program can be located by clicking the “?” within the program. It is quite simple to use, and self-explanatory.
Once you have attached the hat mesh of choice (remember, they are all interchangeable) to the head mesh of choice, then move all four-five files…the head .skn, the hat .skn, the head and hat textures, and the newly created SimAttacher .cmx to the Sims/Gamedata/Skins folder. Your new head, with hat, should be ready to choose for game play. If you would rather have your Sims take off their hats for showers and swimming, see the section below entitled “Why not use the body .skn” Furthermore, if you wish to change the color or texture of the hat, see “Using other textures” below.
This program (Sim Attacher) actually creates a chain of meshes by making a new .cmx file. The .cmx is just a text file, read by the Sims program (that’s my version of what it does…I’m not a programmer). You can also edit the .cmx by hand by opening it up with Notepad or WordPad. If you initially cannot open the .cmx with WordPad or Notepad, simply change the “properties” of a .cmx file to allow Notepad to open the .cmx.
When you do open it, the text will look like this:
_________________________________________
// Character File. Copyright 1997, Maxis Inc.
version 300
0
1
c713fa_RealHatHair
0
0
1
HEAD
xskin-c713fa_RealHatHair-HEAD-HEAD
0
0
0
___________________________________________
Try to open the newly created Sim Attacher .cmx. In this case, I’m using the freebie meshes of the first update, c713fa_RealHatHair, and I’m paring it with “HoHoHo” the Santa Claus hat. What you will see, if you have correctly attached a hat to a head, is the following:
____________________________________________
// Character File. Copyright 1997, Maxis Inc.
version 300
0
2
c713fa_RealHatHair
0
0
2
HEAD
xskin-c713fa_RealHatHair-HEAD-HEAD
0
0
HEAD
HoHoHo
0
0
0
You can see that there is now another entry that reads “Head,” then followed by “HoHoHo.” You will also note that a “2” replaces the “1) on the 5th line of numbers. This means that the .cmx has chained two .skns together. Were we to attach another prop of some sort, it would read “3”, and so on. The series of three zeros at the end signals the conclusion of the .skn chain.
You can actually create .cmx’s by hand, in a text editor, if the need arises. Use this model as a template. Just bare these few simple rules in mind:
Attachment points are important. The reason that the word “HEAD” is there is because it tells the program to attach the newly entered mesh to the head. Whenever the head moves during game animations, whatever has been attached to the head, regardless of its actual position in the 3d world, will move with the head, as if it were on a string. All of the “hats” will be attached to the head. There is no reason to put them anywhere else.
Make certain that you carefully use the correct text on all lines. An errors in naming the file, or typos, will cause the game to crash.
Why not Use a Body .skn?
The initial instructions tell you how to attach a hat to a cranium .skn (designated in the Sims by the letter “c” for cranium, so that a cranial mesh will always begin with the letter “c.” However, it is preferential to attach the hat to a body .skn (designated with the letter “b” so that the hat will be removed in the game when the Sim swims, takes a shower, sleeps, or the like. For users of Hot Date, it will also allow the Sim to change into formal attire and drop the hat. Furthermore, in Hot Date it would be possible to buy a skin in a downtown store that might have a hat attached. While we won’t get into doing that in this tutorial, it is quite easy if one knows the naming conventions used by Hot Date, and has a basic knowledge of how to edit .cmx’s by hand (see above.)
The method for attaching a hat to a body skin is the same as attaching a hat to a cranium. The look will be the same, and the hat will move with the head at all times…however, as stated before, the hat will come off at the appropriate times in the game. So, basically, why not do it?
For some reason, I’ve always liked the bikini body available in the Sims. Dunno why. So, I’ve decided to have a really merry Christmas this year, and I’m going to attach the “HoHoHo” hat to a bikini body, the b300fafit body. Using notepad, I edit the .cmx of the b300fafit file. Of course, I would rename it before I saved it, because I don’t want all bikini bodies to have Santa hats. So, I’ll call it b301fafit.
____________________________________________
// Character File. Copyright 1997, Maxis Inc.
version 300
0
2
b301fafit_01
0
0
2
PELVIS
xskin-b300fafit_01-PELVIS-BODY
0
0
HEAD
HoHoHo
0
0
0
I save it as “b301fafit_01” and I’m finished, remembering to type the “.cmx” extension when I save it. Now, I deposit both the new .cmx and the HoHoHo file into the Gamedata/Skins directory. It should be good to go.
Using Other Textures for the Hats
For whatever reason, you may want to use different textures for the hats. The simplest way to do this is to, of course, just edit the texture the way that you want, and save the original texture as a back-up. However, it may be necessary, from time to time, to change the name of the provided texture. The final part of the tutorial here deals with this.
Let’s suppose that you wanted to created two versions of the Santa Claus hat…one that was red and one that was green. If you want to keep both versions available for the game, you have to do a little editing that goes beyond just recoloring the texture of the hat.
You have to change the “.skn.”
Once again, a text editor is the best way here. Open up that .skn in the text editor, and you will note the following:
HoHoHo
HOHOHO
1
HEAD
1039
441 442 443
444 445 446
447 448 446
449 450 442
442 450 451
(etc.)
You should note that the top line is the line that states the name of the file. But the second line is the most important line for our purposes. The second line is the name of the texture (bmp) that this .skn will use. In the case of the hats, the textures are named the exact same thing as the .skn, for easy reference. However, should you choose to create a different texture, and still keep the old one, you will need to change some things.
First of all, you will have to create a new .skn. Just save a copy of the old one, and then edit. Here’s how I would do it, if I wanted to make a green Santa’s hat, assuming that I have already created the green texture.
HoHoHoGrn
HOHOHOGrn
1
HEAD
1039
441 442 443
444 445 446
447 448 446
449 450 442
442 450 451
(etc.)
Notice that I named the texture and the file the same way. You don’t have to do that, of course. For me, it helps to keep things organized. So, now all I have to do is place my new .bmp (which I named hohohogrn), my new .skn (also named hohohogrn) and my new .cmx (you’ll have to make one of those, too) in the Gamedata/skins folder, and I’m ready to HoHoHo in multiple shades.
You may want to create several sets of textures for your hats. However, you will need to edit both texture and .skn files each time that you do this. It is time consuming, but what price can you put on Santa hats all over SimCity in every shade of color imaginable? That’s what I thought.
I hope that this has not been too difficult. I invite you to give this a try, if you enjoy customization at all. Good luck, happy skinnin’, and may you get as much enjoyment out of your new Sim stuff as I get making it.
Fionn